package com.tian.demo01.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @TableName dept
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("部门信息")
public class Dept implements Serializable {
    @TableId("deptno")
    @ApiModelProperty("部门编号")
    private Integer deptno;

    @ApiModelProperty("部门名称")
    private String dname;

    @ApiModelProperty("部门位置")
    private String loc;



    private static final long serialVersionUID = 1L;
}